< Prev(J) / Next(K) > / View :

Filename: /text/shared/02/01170900.xhp

(bookmark: bm_id3159233)
forms; Combo Box/List Box Wizard

フォーム; コンボボックス/リストボックスウィザード

Combo Box/List Box Wizard
コンボボックス/リストボックスウィザード(hd_id3154094.1)

If you insert a combo box or a list box in a document, a wizard starts automatically. This wizard allows you to interactively specify which information is shown.
ドキュメントにコンボボックスまたはリストボックスを挿入すると、ウィザードが自動的に開始されます。このウィザードでは、表示する情報を対話式で指定できます。(par_id3152363.2)

(variable: wie)To access this command...(variable: wie)この機能の見つけ方

(embed text/shared/00/00040501.xhp#aupikomli : linkinfo)

Open Form Controls toolbar, click Combo Box or List Box icon and drag mouse to generate field. Database connection must exist in the form.
フォームコントロール ツールバーを開き、コンボボックス または リストボックス アイコンをクリックし、マウスをドラッグしてフィールドを作成します。フォームには、データベース接続が必要です。(par_id3156553.95)

(/embed text/shared/00/00040501.xhp#aupikomli)


Note Icon 注マーク You can use the Wizards On/Off icon to keep the wizard from starting automatically.
ウィザードのオン/オフ アイコンでウィザードの自動起動をオフにできます。(par_id3145211.21)

The wizards for combo boxes and list boxes differ from each other in their final step. This is because the nature of control fields:
コンボボックスとリストのウィザードでは、最終ステップが異なります。コントロールフィールドの性質が異なるためです。(par_id3155391.22)

List Boxes
リストボックス(par_id3159233.23)

In the case of a list box, the user selects one entry from a list of entries. These entries are saved in a database table and cannot be modified through the list box.
リストボックスでは、ユーザーはリストの種々の項目から一つを選択できます。これらの項目はデータベーステーブルに保存され、リストボックスを介して編集することはできません。(par_id3166410.24)

As a general rule, the database table that contains the visible list entries in the form is not the table on which the form is based. The list boxes in a form work by using references; that is, references to the visible list entries are located in the form table (values table) and are also entered as such in the values table if the user selects an entry from the list and saves it. Through reference values, list boxes can display data from a table linked to the current form table. Thus the List Box Wizard allows two tables of a database to be linked, so that the control field can display a detailed list of a database field that is located in a different table from the one to which the form refers.
フォーム内で見ることができるリスト項目を含むデータベーステーブルは、通常はフォームがベースとするテーブルではありません。したがってフォームのリストボックスは参照と連動していて、目に見えるリスト項目に属する参照はフォームテーブル(値テーブル)内に存在し、ユーザーがある項目をリストから選択してこれを保存すると、これも参照として値テーブルに登録されます。参照値を介し、リストボックスは現在のフォームテーブルとリンクするテーブルのデータを表示できます。このように リストウィザード はデータベース内の 2 つのテーブルのリンクを可能にするので、コントロールは、フォームが参照しているテーブルとは別のテーブルに含まれているデータベースフィールドの詳細表を表示できます。(par_id3166460.25)

In the other tables the required field is searched for by using the field names (ControlSource) and then the fields will be completed accordingly. If the field name is not found, the list will remain empty. When list fields contain linked columns, the first column of the other table will be used without a query being shown first.
その他のテーブルでは、必要なフィールドがフィールド名 (ControlSource) によって検索され、その結果に基づいてフィールドが入力されます。フィールド名が見つからない場合、リストは空白のままです。リストのフィールドにリンク先の列が含まれる場合は、最初にクエリーが表示されることなく、相手テーブルの最初の列が使用されます。(par_id3145673.31)

If an article table contains, for example, the number of a supplier, the list box can use the "Supplier number" link to display the name of the supplier from the supplier table. On the Field links page the Wizard will ask you about all the settings required for this link.
たとえば、商品テーブルに供給者番号がある場合、リストボックスでは「供給者番号」 リンクを使って、供給者テーブルから供給者名を表示することができます。ウィザードの フィールドのリンク ページでは、このリンクに必要なすべての設定を入力する必要があります。(par_id3154860.26)

Combo Boxes
コンボボックス(par_id3150977.27)

In the case of combo boxes, users can select one entry from the list entries or enter text themselves. The entries, which are offered as a list from which users can select, may originate from any database table. The entries that users select or enter so that they can be saved can be saved either in the form only, or in a database. If they are saved in a database, they will be written to the database table on which the form is based.
コンボボックスの場合、ユーザーはリストから項目を選択できるほか、テキスト自身を入力することも可能です。ユーザーに選択可能なリストとして提供する項目は、任意のデータベーステーブルから取得できます。ユーザーが選択または入力する項目は、フォーム内にのみ保存することも、あるいはデータベース内に保存することもできます。項目をデータベース内に保存する場合は、フォームが基づくデータベーステーブルに書き込まれます。(par_id3158430.28)

Combo boxes can display the data of any table. A direct link between the current form table and the table whose values are to be displayed in the combo box (list table) is not required. Combo boxes do not work with references. If the user enters or selects a value and saves it, the value actually displayed will be entered in the form table. As there is no link between the form table and the list table, the Field Link table does not appear here.
コンボボックスは任意のテーブルのデータを表示することができますが、その際に現在のフォームテーブルと、コンボボックスに表示する値を含むテーブルとが直接リンクしている必要はありません(リストテーブル)。コンボボックスは参照を利用して機能しているわけではありません。ユーザーがある値を入力または選択し、これを保存する場合、実際にフォームテーブルに表示されている値が登録されます。フォームテーブルとリストテーブルとはリンクしていないので、ここでは フィールドリンク のページは表示されません。(par_id3154046.29)

In the case of a list box, you select entries from the list, and these are saved in the list table. In the case of a combo box, you can add additional text that can be written to the current database table of the form (values table) and stored there as desired. For this function, the Combo Box Wizard has the Data Processing page as the last page, whereas in the case of list boxes this page does not exist. Here you can enter whether and where text that has been entered is to be saved in the values table.
リストボックスの場合、リストから項目を選択します。この項目は、リストテーブルに保存されます。コンボボックスの場合、リストにないテキストを入力することもできます。このテキストは、フォームの現在のデータベーステーブル (値テーブル) に希望に応じて格納されます。この機能のために コンボボックス ウィザード の最後のページには、リストボックスにはない データ処理 のページがあります。リストボックの場合にはこのページはありません。ここでは、入力されたテキストを値テーブルに保存するかどうか、保存するとしたらテーブルのどこに保存するかを指定できます。(par_id3146949.30)

(embed text/shared/02/01170801.xhp#seite1 : linkinfo)

Table Element / List Box / Combo Box Wizard: Data
テーブル構成要素、リストボックス、およびコンボボックス ウィザード: データ(hd_id3153323.3)

Select the data source and table to which the form field corresponds. If you insert the form field in a document that is already linked to a data source, this page becomes invisible.
フォームフィールドに対応するデータソースとテーブルを選択します。データソースにすでに関連付けられているドキュメントにフォームフィールドを挿入した場合、このページは表示されません。(par_id3150476.4)

(/embed text/shared/02/01170801.xhp#seite1)

(embed text/shared/02/01170901.xhp#seite1 : linkinfo)

Combo Box / List Box Wizard: Table Selection
コンボボックス/リストウィザード: テーブルの選択(hd_id3154228.4)

Specifies a table from the available database tables that contains the data field whose content should be displayed as a list entry.
使用可能なデータベーステーブルから選択します。選択したデータベーステーブルに含まれるデータフィールドの内容をリスト項目として表示できます。(par_id3149716.5)

(/embed text/shared/02/01170901.xhp#seite1)

(embed text/shared/02/01170902.xhp#seite2 : linkinfo)

Combo/List Box Wizard: Field Selection
コンボボックス/リストウィザード: フィールドの選択(hd_id3153323.14)

Select the data field specified in the table on the previous page, whose contents should be displayed in the list or combo box.
前のページの表に指定されたデータフィールドを選択します。その内容がリストまたはコンボボックスに表示されます。(par_id3154228.9)

(/embed text/shared/02/01170902.xhp#seite2)

(embed text/shared/02/01170903.xhp#seite3a : linkinfo)

List Box Wizard: Field Link
リストボックスウィザード: フィールドのリンク(hd_id3149119.20)

Indicates through which fields tables of values and list tables are linked.
数値テーブルとリストテーブルを関連付けるフィールドを指定します。(par_id3159224.15)

(/embed text/shared/02/01170903.xhp#seite3a)

(embed text/shared/02/01170904.xhp#seite3b : linkinfo)

Combo Box Wizard: Database Field
コンボボックスウィザード: データベースフィールド(hd_id3144740.1)

With the combination fields, you can either save the value of a field in a database or display this value in a form.
コンボボックスでは、フィールドの値をデータベースフィールドに保存するか、あるいは単にフォームに表示させて使用できます。(par_id3153323.2)

(/embed text/shared/02/01170904.xhp#seite3b)

(embed text/shared/00/00000001.xhp#abbrechen : linkinfo)

Cancel
キャンセル(hd_id3147617.4)

Clicking Cancel closes a dialog without saving any changes made.
キャンセル をクリックすると、変更点を保存しないでダイアログを閉じます。(par_id3155913.5)

(/embed text/shared/00/00000001.xhp#abbrechen)

(embed text/shared/00/00000001.xhp#zurueckautopi : linkinfo)

Back
戻る(hd_id3147502.72)

View the selections in the dialog made in the previous step. The current settings remain unchanged. This button can only be activated from page two on.
このダイアログで、ひとつ前の作業ステップでの設定が確認できます。現在の設定は、そのまま残ります。 このボタンは、2 つめ以降のダイアログでアクティブになります。(par_id3150439.73)

(/embed text/shared/00/00000001.xhp#zurueckautopi)

(embed text/shared/00/00000001.xhp#weiterautopi : linkinfo)

Next
次へ(hd_id3145609.70)

Click the Next button, and the wizard uses the current dialog settings and proceeds to the next step. If you are on the last step, this button becomes Create.
次へ ボタンをクリックすると、ウィザードは現在のダイアログ設定を使用して、次の手順に進みます。最後の手順では、このボタンの名前が 作成 になります。(par_id3152473.71)

(/embed text/shared/00/00000001.xhp#weiterautopi)


< Prev / Next >